<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>{% block title %}小博字典😁!{% endblock %}</title>
    <link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css">
</head>
<body>
<main class="container">
    <header>
        <h1 class="text-center display-4">
            <a href="{{ url_for('hello_world') }}" class="text-success"><strong>小博的词典</strong></a>
            <small class="text-muted sub-title">with spider</small>
        </h1>
    </header>
    {% for message in get_flashed_messages() %}
        <div class="alert alert-info">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            {{ message }}
        </div>
    {% endfor %}
    {% block content %}{% endblock %}

    <div style="text-align: center;"><form action="/dic" method="post" >
        <p>
            <p><input name="word" value="{{ word }}" placeholder="你要查询什么？"></p>
            <p><input name="uname" type="password" placeholder="你的大名是神魔？"></p>
            <p><button type="subbmit"> 查询</button></p>
        </p>
        <p>去吧 小青年～</p>
	</form>
</div>
    <footer class="text-center">
        {% block footer %}
            <small> &copy; 2020 <a href="">张博先生</a></small>
            <p><a id="bottom" href="#" title="Go Top">&uarr;</a></p>
        {% endblock %}
    </footer>
</main>


</body>
</html>
